'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.homes.index);
  router.get('/home2', controller.homes.home2);
  router.get('/menu', controller.menu.menu1);
  router.get('/menu2', controller.menu.menu1);
  router.get('/routers', controller.routers.index);
  router.get('/book', controller.book.index);
  router.get('/mysqlhome', controller.mysqlhome.index);
};
